<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:useBean id="member" class="admin.member.MemberDao" scope="page"/>
<%@ page import="java.util.List" %>
<%@ page import="java.util.HashMap" %>
<%

	String menu = "6";

	String id 	= request.getParameter("id") == null ? "" : request.getParameter("id");
	String name1 = request.getParameter("name1") == null ? "" : request.getParameter("name1");
	String name2 = request.getParameter("name2") == null ? "" : request.getParameter("name2");
	String hp11 = request.getParameter("hp11") == null ? "" : request.getParameter("hp11");
	String hp12 = request.getParameter("hp12") == null ? "" : request.getParameter("hp12");
	String hp13 = request.getParameter("hp13") == null ? "" : request.getParameter("hp13");
	
	String hp21 = request.getParameter("hp21") == null ? "" : request.getParameter("hp21");
	String hp22 = request.getParameter("hp22") == null ? "" : request.getParameter("hp22");
	String hp23 = request.getParameter("hp23") == null ? "" : request.getParameter("hp23");
	
	HashMap map = new HashMap();
	
	if ( !name1.equals("") ){
	
		map = member.getFindId2(name1,hp11+hp12+hp13);
		
	} else {
	
		map = member.getFindPwd2(id,name2,hp21+hp22+hp23);
		
	}
	
	
	
	//out.println(map.size());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>황인영의 웨딩스토리</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/default.js"></script>
<!--[if lte IE 6]><link rel="stylesheet" href="css/ie6.css" type="text/css" media="all" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" href="css/ie7.css" type="text/css" media="all" /><![endif]-->
</head>
<body>
<!-- header -->
<%@ include file="/inc/header.jsp" %>
<!-- header// -->

<!-- container -->
	<div id="join_container" class="pdb100">
		<h2><img src="../img/idpw_search.gif" alt="로그인" /></h2>
		<div class="sub-con pdb100">
<%
	if ( map.get("pwd") == null ) { 
%>
    
        
        
        <img src="../img/search_img01.gif" alt="1. 아이디 찾기" />
        <div class="search-box01">
        아래내용을 확인해 주세요.<br />
        <span><%=name1 %></span> 회원님의 아이디는 <span><%=map.get("id") %></span>입니다.
        </div>        
<% } else { %>
        <img src="../img/search_img02.gif" alt="2. 비밀번호찾기" />
        <div class="search-box01">
        아래내용을 확인해 주세요.<br />
        <span><%=name1 %></span>회원님의 임시비밀번호는 <span><%=map.get("pwd") %></span>입니다.<br />
        로그인 후 마이페이지에서 비밀번호를 수정하시기 바랍니다.
        </div>        
        <div class="advice"><img src="../img/img01.gif" alt="문의및상담 1666-0135" /></div>
        </div>
	</div>
<% }  %>
<!-- footer -->
<%@ include file="/inc/footer.jsp" %>
<!-- fooer// -->
	</div>
</div>
<!-- container// -->
</div>
</div>
</div>
</body>
</html>
